<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">

<%@page import="karaoke.negocio.GestionProducto"%>
<%@page import="karaoke.modelo.Usuario"%>
<%@page import="karaoke.negocio.GestionUsuario,java.util.*"%>
<%@page import="java.util.Collection, karaoke.excepcion.DAOExcepcion"%>

 <head>
    <meta charset="iso-8859-1">	    
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
	
	<title>Bienvenido(a): ${sessionScope.USUARIO_ACTUAL.nombre} &nbsp;${sessionScope.USUARIO_ACTUAL.appaterno}</title>

	<script src="js/jquery-1.9.1.js"></script>
	<script src="js/jquery-ui-1.10.2.custom.js"></script>
		
    <!-- Le styles -->
    <link href="css/bootstrap.css" rel="stylesheet">    
    <link href="css/bootstrap-responsive.css" rel="stylesheet">
	<link href="css/bootswatch.css" rel="stylesheet">
	<link href="css/jquery-ui-1.10.2.custom.css" rel="stylesheet">

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    
  </head>


  <body>

    <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
          
          <div class="nav-collapse collapse">
            <ul class="nav">            
               <%
                  Usuario objUsuario = (Usuario)session.getAttribute("USUARIO_ACTUAL");
                  if(objUsuario.getPerfil().equals("C")) //cliente
                  {
			   %>
			   
              <li class="active"><a href="ComentarioSala.jsp" target="iframe">Comentar Sala</a></li>
              <li><a href="RegistrarReservaCliente.jsp" target="iframe">Registrar Reserva</a></li>
              
              <%  } else if(objUsuario.getPerfil().equals("J")) { %>
                            
              <li><a href="GenerarComprobante.jsp" target="iframe">Generar Comprobante</a></li>
              
              <% }  else if(objUsuario.getPerfil().equals("K")) { %>
                                          
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Mantenimientos <b class="caret"></b></a>
                <ul class="dropdown-menu">
                  <li><a href="BuscarProductos.jsp" target="iframe">Productos</a></li>
                  <li><a href="BuscarEventos.jsp" target="iframe">Eventos</a></li>
                  <li><a href="Reserva.jsp" target="iframe">Reservas</a></li>
                </ul>
              </li>
                      
               <%}  else if(objUsuario.getPerfil().equals("S")) { %>       
                            
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Administracion <b class="caret"></b></a>
                <ul class="dropdown-menu">
                  <li><a href="BuscarLocal.jsp" target="iframe">Locales</a></li>
                  <li><a href="BuscarSalas.jsp" target="iframe">Salas</a></li>                  
                </ul>
              </li>
              
              <%} %>
              
            </ul>
                        
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>

    <div class="container">
	  <iframe src=""  name="iframe" height="700" width="1000" scrolling="yes" class="hero-unit" ></iframe>
    </div>

      <footer>
        <p>Orion 2013</p>
      </footer>

    

    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    
    <script src="js/bootstrap-affix.js"></script>
    <script src="js/bootstrap-alert.js"></script>
	<script src="js/bootstrap-button.js"></script>
	<script src="js/bootstrap-carousel.js"></script>
	<script src="js/bootstrap-collapse.js"></script>
	<script src="js/bootstrap-dropdown.js"></script>	
    <script src="js/bootstrap-modal.js"></script>
	<script src="js/bootstrap-tooltip.js"></script>
    <script src="js/bootstrap-popover.js"></script>	
    <script src="js/bootstrap-scrollspy.js"></script>
    <script src="js/bootstrap-tab.js"></script>	    
	<script src="js/bootstrap-transition.js"></script>
    <script src="js/bootstrap-typeahead.js"></script>

  </body>



</html>